package com.erp.data;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the erpbaseusergroup database table.
 * 
 */
@Entity
@Table(name="erpbaseusergroup")
public class ErpbaseUserGroup implements Serializable {
	private static final long serialVersionUID = 1L;
	private ErpbaseUserGroupPK id;
	private Timestamp dateEntry;
	private Timestamp dateModify;
	private String groupAdminClass;
	private String groupClass;

    public ErpbaseUserGroup() {
    }


	@EmbeddedId
	public ErpbaseUserGroupPK getId() {
		return this.id;
	}

	public void setId(ErpbaseUserGroupPK id) {
		this.id = id;
	}
	

	@Column(name="DATE_ENTRY")
	public Timestamp getDateEntry() {
		return this.dateEntry;
	}

	public void setDateEntry(Timestamp dateEntry) {
		this.dateEntry = dateEntry;
	}


	@Column(name="DATE_MODIFY")
	public Timestamp getDateModify() {
		return this.dateModify;
	}

	public void setDateModify(Timestamp dateModify) {
		this.dateModify = dateModify;
	}


	@Column(name="GROUP_ADMIN_CLASS", length=1)
	public String getGroupAdminClass() {
		return this.groupAdminClass;
	}

	public void setGroupAdminClass(String groupAdminClass) {
		this.groupAdminClass = groupAdminClass;
	}


	@Column(name="GROUP_CLASS", nullable=false, length=1)
	public String getGroupClass() {
		return this.groupClass;
	}

	public void setGroupClass(String groupClass) {
		this.groupClass = groupClass;
	}

}